sudo apt update
sudo apt upgrade
sudo apt install git -y
sudo apt install cmake -y
sudo apt install curl -y
sudo apt install -y libfuse2 libxdo3
sudo apt install build-essential qtbase5-dev libqt5webkit5-dev libicu-dev libibus-1.0-dev -y
# install boost
sudo apt install libboost-all-dev
# instlal rapidjson
sudo apt install rapidjson-dev
# install spdlog
sudo apt install libspdlog-dev
# install fmt
sudo apt install libfmt-dev
# install zstd
sudo apt-get install -y libzstd-dev
# install nanomsg
sudo apt-get install -y libnanomsg-dev
# install node.js
sudo apt install nodejs npm

# install SunloginClient
wget http://archive.ubuntu.com/ubuntu/pool/universe/g/gconf/gconf2-common_3.2.6-7ubuntu2_all.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/g/gconf/libgconf-2-4_3.2.6-7ubuntu2_amd64.deb
sudo dpkg -i gconf2-common_*.deb libgconf-2-4_*.deb
sudo apt --fix-broken install
sudo dpkg -i SunloginClient_*.deb

# install chinese input method
sudo apt install language-pack-zh-hans -y
sudo apt install fcitx5 fcitx5-chinese-addons fcitx5-pinyin -y
im-config -n fcitx5  # 将系统输入法切换为 Fcitx5
sudo apt install fonts-noto-cjk fonts-wqy-zenhei -y

# install google chrome
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt install ./google-chrome-stable_current_amd64.deb
rm google-chrome-stable_current_amd64.deb


# install mysql
sudo apt install mysql-server -y



# install anaconda3
wget https://repo.anaconda.com/archive/Anaconda3-2025.06-0-Linux-x86_64.sh
bash Anaconda3*.sh
rm Anaconda3*.sh


# install pycharm
sudo snap install pycharm-professional --classic


# install clion
sudo snap install clion --classic

# install windsurf

sudo apt-get install wget gpg
wget -qO- "https://windsurf-stable.codeiumdata.com/wVxQEIWkwPUEAGf3/windsurf.gpg" | gpg --dearmor > windsurf-stable.gpg
sudo install -D -o root -g root -m 644 windsurf-stable.gpg /etc/apt/keyrings/windsurf-stable.gpg
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/windsurf-stable.gpg] https://windsurf-stable.codeiumdata.com/wVxQEIWkwPUEAGf3/apt stable main" | sudo tee /etc/apt/sources.list.d/windsurf.list > /dev/null
rm -f windsurf-stable.gpg

sudo apt install apt-transport-https
sudo apt update

sudo apt install windsurf

# install cursor
sudo snap install cursor

